pow.webserver
Class IvyMsg

java.lang.Object
  extended by pow.webserver.IvyMsg

public class IvyMsg
extends java.lang.Object

represents information which are sended by the source event to the database on the queue fifo

Author:
genin

Constructor Summary
IvyMsg(int wId)
           
IvyMsg(int wId, long num, java.lang.String date, java.lang.String msg)
           
IvyMsg(int wId, long num, java.lang.String date, java.lang.String msg, DbOrder order)
           
 
Method Summary
 java.lang.String getIvyMsg()
           
 long getNumMsg()
           
 DbOrder getOrder()
           
 java.lang.String getTimeMsg()
           
 int getWebId()
           
 void setOrder(DbOrder o)
          specify how to store the message in database
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IvyMsg

public IvyMsg(int wId,
              long num,
              java.lang.String date,
              java.lang.String msg,
              DbOrder order)

IvyMsg

public IvyMsg(int wId,
              long num,
              java.lang.String date,
              java.lang.String msg)

IvyMsg

public IvyMsg(int wId)
Method Detail

getWebId

public int getWebId()
Returns:
the ivy web ivy which has sent the message

getNumMsg

public long getNumMsg()
Returns:
the number of the message

getTimeMsg

public java.lang.String getTimeMsg()
Returns:
the time at which the message was sent

getIvyMsg

public java.lang.String getIvyMsg()
Returns:
the ivy message

getOrder

public DbOrder getOrder()
Returns:
an order on how to store the ivy message in database

setOrder

public void setOrder(DbOrder o)
specify how to store the message in database

Parameters:
o - the way to store the message in database
See Also:
DbOrder